<template>
  <div class="view-container dailylog">
    <el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
      <el-tab-pane label="我的日志" name="myDailyLog">
        <my-daily-log></my-daily-log>
      </el-tab-pane>
      <el-tab-pane label="查看日志" name="allDailyLog">
        <all-dialy-log></all-dialy-log>
      </el-tab-pane>
    </el-tabs>

  </div>
</template>

<script>
  import MyDailyLog from './MyDailyLog'
  import AllDialyLog from './AllDialyLog'
  export default {
    name: "DailyLog2",
    components:{MyDailyLog,AllDialyLog},
    data() {
      return {
        activeName:'myDailyLog'
      }
    },
    created() {
    },
    computed: {
    },
    methods: {
      handleClick(tab){

      }
    }
  }
</script>

<style lang="scss">
</style>

<style scoped lang="scss">


  .date-picker {
    float: right;
  }

</style>
